﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site/Master/Base.Master" AutoEventWireup="true" CodeBehind="MeusPedidos.aspx.cs" Inherits="ByBikeShop.Cliente.Pages.MeusPedidos" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
	<link href="../Styles/cssMeusPedidos.min.css" rel="stylesheet" />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="placeholder" runat="server">

</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="Conteudo" runat="server">
	<section id="sectionMeusPedidos">
		<%--<section id="sectionMinhaConta">
			<h3>
				Minha Conta
			</h3>
			<ul>
				<li> <a href="MeusDados.aspx">Meus Dados</a> </li>
				<li> <a href="MeusPedidos.aspx">Meus Pedidos</a> </li>
			</ul>
		</section>--%>
		<section id="sectionPedidos">
			<h2> Meus Pedidos </h2>

			<asp:GridView runat="server" ID="grdMeusPedidos" ClientIDMode="Static" AutoGenerateColumns="false" GridLines="None" OnRowDataBound="grdMeusPedidos_RowDataBound">
				<Columns>
					<asp:BoundField DataField="Data" HeaderText="Data do Pedido" ItemStyle-Width="50px" ItemStyle-HorizontalAlign="Right" HeaderStyle-HorizontalAlign="Right" />
					<asp:BoundField DataField="NumeroPedido" HeaderText="Número do Pedido" ItemStyle-Width="300px" HeaderStyle-HorizontalAlign="Left" />
					<asp:BoundField DataField="ValorTotal" HeaderText="Total" ItemStyle-Width="100px" ItemStyle-HorizontalAlign="Right" HeaderStyle-HorizontalAlign="Right" />
					<asp:TemplateField HeaderText="Status do Pedido" ItemStyle-Width="150px" HeaderStyle-HorizontalAlign="Left">
						<ItemTemplate>
							<asp:Label runat="server" ID="lblStatus"></asp:Label>
						</ItemTemplate>
					</asp:TemplateField>
					<asp:TemplateField HeaderText="Ver" ItemStyle-Width="50px" ItemStyle-HorizontalAlign="Center">
						<ItemTemplate>
							<asp:ImageButton runat="server" ID="btnVisualizar" CssClass="btnView" ImageUrl="~/Imagens/Icones/view.png"
								CommandArgument='<%# Eval("Pedido_ID") %>' OnCommand="btnVisualizar_Command" />
						</ItemTemplate>
					</asp:TemplateField>
				</Columns>
			</asp:GridView>
		</section>
	</section>
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="Scripts" runat="server">
</asp:Content>
